package com.eportal.ORM;

/**
 * WtZfxtInfoId entity. @author MyEclipse Persistence Tools
 */

public class WtZfxtInfoId implements java.io.Serializable {

	// Fields

	private String zfxtHh;
	private String zfxtCyzqc;

	// Constructors

	/** default constructor */
	public WtZfxtInfoId() {
	}

	/** full constructor */
	public WtZfxtInfoId(String zfxtHh, String zfxtCyzqc) {
		this.zfxtHh = zfxtHh;
		this.zfxtCyzqc = zfxtCyzqc;
	}

	// Property accessors

	public String getZfxtHh() {
		return this.zfxtHh;
	}

	public void setZfxtHh(String zfxtHh) {
		this.zfxtHh = zfxtHh;
	}

	public String getZfxtCyzqc() {
		return this.zfxtCyzqc;
	}

	public void setZfxtCyzqc(String zfxtCyzqc) {
		this.zfxtCyzqc = zfxtCyzqc;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof WtZfxtInfoId))
			return false;
		WtZfxtInfoId castOther = (WtZfxtInfoId) other;

		return ((this.getZfxtHh() == castOther.getZfxtHh()) || (this
				.getZfxtHh() != null
				&& castOther.getZfxtHh() != null && this.getZfxtHh().equals(
				castOther.getZfxtHh())))
				&& ((this.getZfxtCyzqc() == castOther.getZfxtCyzqc()) || (this
						.getZfxtCyzqc() != null
						&& castOther.getZfxtCyzqc() != null && this
						.getZfxtCyzqc().equals(castOther.getZfxtCyzqc())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getZfxtHh() == null ? 0 : this.getZfxtHh().hashCode());
		result = 37 * result
				+ (getZfxtCyzqc() == null ? 0 : this.getZfxtCyzqc().hashCode());
		return result;
	}

}